﻿
<style type="text/css">
    .row {
        border-bottom: solid 1px #d6d7dd;
        margin-top: 10px;
        overflow:hidden;
    }
    .row:last-child {
        border: none;
    }
    .form-group {
        float: left;
        margin-bottom:0;
    }
    .label-control {
        font-weight:500;
        padding-top:7px;
        color:#333;
    }
    .form-control {
        width:180px;
        border: none;
        background: transparent;
        box-shadow: none !important;
        color:#666;
    }
</style>

<div>
    <form name="basicPersonCreateOrEditForm" role="form" novalidate class="form-validation">
        <div class="modal-header">
            <h4 class="modal-title">
                <span ng-if="vm.basicPerson.id">详情信息:{{vm.basicPerson.name}}</span>
                <span ng-if="!vm.basicPerson.id">详情信息</span>
            </h4>
        </div>

        <div style="width:100%; background: #eef1f5;overflow:hidden;padding:5px 15px;">
            <div class="row" ng-repeat="item in vm.basicPersonList">
                <div class="form-group col-sm-4">
                    <label for="exampleInputName2" class="label-control pull-left">家庭成员：</label>
                    <input type="text" class="form-control pull-right" value="{{ item.relationship }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">乡镇：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.townTitle }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">社区：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.areaTitle }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">村庄：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.villageTitle }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">姓名：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.name }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">性别：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.sex ? '男' : '女' }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">身份证号：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.idCard }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">总人口数：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.totalPopulation }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">从事行业：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.industry }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">承包田亩数：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.contractField }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">责任田亩数：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.responsibilityField }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">门牌号：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.houseNumber }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">楼房：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.building }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">平房：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.bungalow }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">政治面貌：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.politics }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">烈士军属：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.isMartyr ? '是' : '否' }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">享受低保：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.isallowance ? '是' : '否' }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">鳏寡孤独：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.isLonely ? '是' : '否' }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">空巢老人：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.iselderly ? '是' : '否' }}" disabled="disabled">
                </div>
                <div class="form-group col-sm-4">
                    <label for="exampleInputEmail2" class="label-control pull-left">五保户：</label>
                    <input type="email" class="form-control pull-right" value="{{ item.isFiveGuarantees ? '是' : '否' }}" disabled="disabled">
                </div>
            </div>
        </div>

        <div class="modal-footer">
            <button ng-disabled="vm.saving" type="button" class="btn btn-default" ng-click="vm.cancel()">@L("Close")</button>
        </div>
    </form>
</div>